import {
  GET,
  POST
} from 'framework/utils/request';

// 验证是否通过
export async function checkIsAuth(params) {
  return await GET('/identityAuth/checkIsAuth.do', params);
}
// 保存身份认证信息
export async function saveBeeUserAuth(data) {
  return await POST('/identityAuth/saveBeeUserAuth.do', data);
}
// 查询身份认证信息
export async function selectBeeUserAuth(params) {
  return await GET('/identityAuth/selectBeeUserAuth.do', params);
}
// 身份证反面认证
export async function verifyBack(data) {
  return await POST('/identityAuth/verifyBack.do', data);
}
// 身份证信息认证
export async function verifyCardNo(data) {
  return await POST('/identityAuth/verifyCardNo.do', data);
}
// 身份证反面认证
export async function verifyFront(data) {
  return await POST('/identityAuth/verifyFront.do', data);
}